package com.pw.demo3.service;

import com.pw.demo3.bean.Employee;

import java.util.List;

public interface EmployeeService {
    int deleteByPrimaryKey(Long id);

    int insert(Employee record);

    Employee selectByPrimaryKey(Long id);

    Employee selectByName(String name);

    List<Employee> selectAll();

    int updateByPrimaryKey(Employee record);

    List<Employee> selectByExample(String key,String deptId);
}